<!DOCTYPE html>
<html>

<head>
    <title>Theme elements</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
    <link rel="stylesheet" type="text/css" href="https://rdocumentation.rsharp.net/assets/page.css">
</head>

<body>
    <div class="container">

        <table style="width: 100%;">
            <tr>
                <td>element_text {ggplot2}</td>
                <td style="text-align: right;">R Documentation</td>
            </tr>
        </table>

        <h2>Theme elements</h2>

        <h3>Description</h3>

        <p><br /> text.</p>

        <h3>Usage</h3>

        <div style="width: 100%; padding-left: 3%; color: black;">
            <pre><code class='language-R' style="color: black; font-weight:normal;"><strong>element_text</strong>(
    <i>family</i> = <span style='color: blue !important;'>NULL</span>,
    <i>face</i> = <span style='color: blue !important;'>NULL</span>,
    <i>size</i> = <span style='color: green;'>0</span>,
    <i>hjust</i> = <span style='color: green;'>0</span>,
    <i>vjust</i> = <span style='color: green;'>0</span>,
    <i>angle</i> = <span style='color: green;'>0</span>,
    <i>lineheight</i> = <span style='color: green;'>0</span>,
    <i>color</i> = <span style='color: blue !important;'>NULL</span>,
    <i>margin</i> = <span style='color: green;'>0</span>,
    <i>debug</i> = <span style='color: blue !important;'>FALSE</span>,
    <i>inherit.blank</i> = <span style='color: blue !important;'>FALSE</span>);</code></pre>
        </div>

        <h3>Arguments</h3>

        <table>
            
<dt>family</dt>
<dd><p>Font family. [as string]</p></dd>


<dt>face</dt>
<dd><p>Font face ("plain", "italic", "bold", "bold.italic"). [as string]</p></dd>


<dt>size</dt>
<dd><p>Line/border size in mm; text size in pts. [as double]</p></dd>


<dt>hjust</dt>
<dd><p>Horizontal justification (in [0, 1]). [as double]</p></dd>


<dt>vjust</dt>
<dd><p>Vertical justification (in [0, 1]). [as double]</p></dd>


<dt>angle</dt>
<dd><p>Angle (in [0, 360]). [as double]</p></dd>


<dt>lineheight</dt>
<dd><p>Line height. [as double]</p></dd>


<dt>color</dt>
<dd><p>Line/border colour. Color is an alias for colour. [as string]</p></dd>


<dt>margin</dt>
<dd><p>Margins around the text. See margin() for more details. When creating a theme, 
 the margins should be placed on the side of the text facing towards the center 
 of the plot. [as double]</p></dd>


<dt>debug</dt>
<dd><p>If TRUE, aids visual debugging by drawing a solid rectangle behind the complete 
 text area, and a point where each label is anchored. [as boolean]</p></dd>


<dt>inherit.blank</dt>
<dd><p>Should this element inherit the existence of an element_blank among its parents? 
 If TRUE the existence of a blank element among its parents will cause this 
 element to be blank as well. If FALSE any blank parent element will be ignored 
 when calculating final element state. [as boolean]</p></dd>

        </table>


        <h3 style="display: none;">Details</h3>

        

        <h3 style="display: block">Authors</h3>

        SMRUCC genomics institute

        <h3>Value</h3>

        this function returns data object of type <a href="/vignettes/clr/ggplot/elements/textElement.html">textElement</a>.<h4>clr value class</h4><ul><li><a href="/vignettes/clr/ggplot/elements/textElement.html">textElement</a></li></ul>

        <h3 style="display: none;">Examples</h3>

        

        <hr />
        <div style="text-align: center;">[Package <em>ggplot2</em> version 1.0.0.0 <a
                href="../ggplot2.html">Index</a>]
        </div>
    </div>
</body>

<script type="text/javascript" src="https://rdocumentation.rsharp.net/assets/R_syntax.js"></script>
<script type="text/javascript" src="https://rdocumentation.rsharp.net/assets/highlights.js"></script>
<script type="text/javascript">r_highlights("example_r");</script>

</html>